package net.hn.hnms.biz.project.request;

import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@Data
@ApiModel("安全施工信息")
public class PlanInvestmentReq extends BaseReq{


    @ApiModelProperty(value = "投资计划ID")
    private String investmentPlanId;

    @ApiModelProperty(value = "投资计划代码")
    private String investmentPlanCode;

    @ApiModelProperty(value = "投资计划名称")
    private String investmentPlanName;

    @ApiModelProperty(value = "投资计划类型")
    private String investmentPlanType;

    @ApiModelProperty(value = "项目类型（0采购项目1施工项目）")
    private String projectType;

    @ApiModelProperty(value = "计划投资额")
    private Double planInvestment;

    @ApiModelProperty(value = "项目ID")
    private String projectId;

    @ApiModelProperty(value = "项目IDList")
    private List<String> projectIds;
    @ApiModelProperty(value = "计划开始日期")
//    @JsonFormat(
//            pattern = "yyyy-MM-dd"
//    )
    @TableField(updateStrategy= FieldStrategy.IGNORED)
    private String planStartDate;

    @ApiModelProperty(value = "计划结束日期")
//    @JsonFormat(
//            pattern = "yyyy-MM-dd"
//    )
    @TableField(updateStrategy= FieldStrategy.IGNORED)
    private String planEndDate;

    @ApiModelProperty(value = "煤矿编码")
    private String mineCode ;

}
